let app = getApp()
let yuming = app.globalData.yuming
Component({
	properties: {
    title:{
        type:String,
        value:''
    	}
		},
		data: {
			heights: wx.getMenuButtonBoundingClientRect().top + 5,
			yuming:yuming,
		},
  	//将父组件传递的数据在生命周期内打印出来
	attached: function () {
		// 在组件实例进入页面节点树时执行
		// console.log(this.data.title)
	},
	backs(){
		// this.triggerEvent('backs')
		wx.navigateBack({
			delta: 1
		})
	},
})